package com.ogilvy.audi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ogilvy.audi.bean.Tactic;
import com.ogilvy.audi.dao.TacticDao;
import com.ogilvy.audi.service.TacticService;
import com.ogilvy.frame.page.PageTools;
import com.ogilvy.frame.service.BaseServiceImpl;
@Service
public class TacticServiceImpl extends BaseServiceImpl implements TacticService{
	@Autowired
	protected TacticDao tacticDao;
	public PageTools<Tactic> query(){
		System.out.println("call CircleServiceImpl.query..... ");
		PageTools<Tactic> plist = tacticDao.selectAll(1, 10);
		System.out.println(plist);
		System.out.println(plist.getTotalPage());
		System.out.println(plist.getTotalCount());
		System.out.println("444");
		return plist;
	}
	
}
